<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .point-chart {
        width: 200px;
        height: 200px;
        border: 1px solid #000;
      }
    </style>
  </head>
  <body>
    <div class="point-chart"></div>
    <script src="js/echarts.min.js"></script>
    <script>
      let myChart = echarts.init(document.querySelector(".point-chart"));
      let option = {
        series: [
          {
            type: "pie",
            radius: [54, 65],
            center: ["50%", "100%"],
            color: [
              "#12274D",
              "transparent",
              new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                { offset: 0, color: "#00FAF9" },
                { offset: 1, color: "#0061CA" },
              ]),
            ],
            data: [
              { value: 1, name: "" },
              { value: 2, name: "" },
              { value: 1, name: "" },
            ],
            labelLine: {
              show: false,
            },
          },
        ],
      };
      myChart.setOption(option);
    </script>
  </body>
</html>
